import numpy

class Generator:
    def __init__(self):
        self.res = []
        #构造非负整数数组
        n = numpy.random.randint(5,10)
        list0 = list(numpy.random.randint(1 , 15 , n))
        self.res.append(list0)
        #构造子数组数目
        m = numpy.random.randint(1,n-1)
        self.res.append(m)

    def outPut(self):
        return self.res

if __name__ == "__main__":
    gen = Generator()
    print(gen.outPut())